package com.amos.pianist.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Pianist
 *
 * @author <a href="mailto:daoyuan0626@gmail.com">amos.wang</a>
 * @date 2022/5/3
 */
@RestController
public class PianistController {

    @GetMapping
    public String get() {
        return "Hello World! \t By Pianist";
    }

    @GetMapping("ping")
    public String ping() {
        return "pong";
    }

}
